summary refs log tree commit diff
path: root/app/about/[name]
diff options
context:
space:
mode:
authorAshelyn Rose <git@tempest.dev>2023-11-04 14:22:15 -0600
committerAshelyn Rose <git@tempest.dev>2023-11-18 13:45:39 -0700
commitf9a75bf672b8300ea8028b141249c46509bbe4c5 (patch)
treeba5a9696d747f2ce1924f09467b8d3ef0865c578 /app/about/[name]
parent7804d2cd10d46ff7890e402b922b9be12fd50f7c (diff)
Add corona, adjust styles
Diffstat (limited to 'app/about/[name]')
-rw-r--r--app/about/[name]/page.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/about/[name]/page.tsx b/app/about/[name]/page.tsx
index 411a2f0..afdbe29 100644
--- a/app/about/[name]/page.tsx
+++ b/app/about/[name]/page.tsx
@@ -1,3 +1,4 @@
+import { Fragment } from "react";
 import Markdown from "markdown-to-jsx";
 import { notFound } from "next/navigation";
 
@@ -20,16 +21,15 @@ export default function MemberPage({ params: { name } }) {
     <>
       <main className="mainColumn">
         <InfoBar memberName={member.name} />
-        <p>{member.bioShort}</p>
-        <Markdown>{member.bioContinued}</Markdown>
+        <Markdown outer="short">{member.bioShort}</Markdown>
+        <Markdown outer="long">{member.bioContinued}</Markdown>
         {member.bioFields?.length && (
-
           <div className={styles.glance}>
             {member.bioFields.map(({ name, value }) => (
-              <>
+              <Fragment key={name}>
                 <span className={styles.label}>{name}</span>
                 <span>{value}</span>
-              </>
+              </Fragment>
             ))}
           </div>
         )}